package cn.cvs.service;

import cn.cvs.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserService {
    SysUser findByAccount(@Param("account")String account);
    SysUser login(String account,String password);
    List<SysUser> list();

    int add(SysUser sysUser);

}
